﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Demo0618
{
    class Area
    {
        //面积类
        public double AreaCount(double a,double b) 
        {
            //长方形面积
            double area = a * b;
            return area;
        }
        public double AreaCount(double r) 
        {
            //圆面积
            double area = 3.14 * r * r;
            return area;
        }
    }
}
